<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>入住房间用户信息列表</title>

</head>
<body>

<div class="rightinfo">

    <ul class="toolbar">
        <li class="click"><a href="/check-in-user/addUI">增加</a></li>
    </ul>

    <table class="tablelist">
        <thead>
        <tr>
            <th><input name="" type="checkbox" value="" checked="checked"/></th>
            <th>入住房间用户ID<i class="sort"></i></th>
            <th>用户id（被哪个用户添加）</th>
            <th>真实姓名</th>
            <th>身份证号码</th>
            <th>性别</th>
            <th>操作</th>
        </tr>
        </thead>
            <tbody>
                <tr th:each="table_item:${checkInUserList_db}">
                    <td><input name="" type="checkbox" value=""/></td>
                    <td th:text="${table_item.checkInUid}"></td>
                    <td th:text="${table_item.uid}"></td>
                    <td th:text="${table_item.name}"></td>
                    <td th:text="${table_item.idCard}"></td>
                    <td th:text="${table_item.sex}"></td>
                    <td>
                        <a href="#" th:href="@{/check-in-user/delete(checkInUid=${table_item.checkInUid})}" class="tablelink"> 删除</a>
                        <a href="#" th:href="@{/check-in-user/updateUI(checkInUid=${table_item.checkInUid})}" class="tablelink">修改</a>
                    </td>
                </tr>
            </tbody>
    </table>
</div>
</body>
</html>
